# include <stdio.h>
int main ()
{

    double x,y,a,b,c,d;
	printf("请输入x的值\n");
	scanf("%lf",&x);
	getchar();
	printf("请输入y的值\n");
	scanf("%lf",&y);
	getchar();
	a=x+y;
	b=x-y;
	c=x*y;
	d=x/y;
	printf("x+y=%lf\n",a);
	printf("x-y=%lf\n",b);
	printf("x*y=%lf\n",c);
	printf("x/y=%lf\n",d);
	int p=(double)x;
	int q=(double)y;
	int e=p%q;
	printf("强制转换后取余为%d\n",e);


	

	return 0;



}
